#ifndef MAPSELECTOR_H
#define MAPSELECTOR_H

#include "MapSelectorObserver.h"
#include <list>

class MapSelector
{
public:
    MapSelector();
    ~MapSelector();

	void RegisterObserver(MapSelectorObserver *observer);
	//void UnregisterObserver(MapSelectorObserver *observer);

	void NotifySelectedMap();
	void NotifyCancelled();

	virtual void GetMap() = 0;
private:
	std::list<MapSelectorObserver*> observers;
};

#endif // MAPSELECTOR_H
